<%--
  Created by IntelliJ IDEA.
  User: 惟手熟尔
  Date: 2023/6/27
  Time: 10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书管理系统 --修改个人信息</title>
    <link rel="stylesheet" href="static/css/bootstrap.min.css">
    <link rel="stylesheet" href="static/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="static/css/bootstrap-admin-theme.css">
    <link rel="stylesheet" href="static/css/bootstrap-admin-theme.css">
    <script src="static/js/bootstrap.min.js"></script>
    <script src="static/jQuery/jquery-3.1.1.min.js"></script>
    <script src="static/js/bootstrap-dropdown.min.js"></script>
    <script src="static/js/adminUpdateInfo.js"></script>
    <script src="static/js/adminUpdatePwd.js"></script>
</head>
<body>
<form class="form-horizontal" method="post" action="UpdateInfoServlet">
    <!--保证样式水平不混乱-->
    <!-- 模态框（Modal） -->
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"
                            aria-hidden="true">&times;</button>
                    <h4 class="modal-title">修改信息</h4>
                </div>
                <div class="modal-body">

                    <!--正文-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">账号</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" id="username" name="username"
                                   placeholder="请输入您要修改的账号" value="${name1}"> <label
                                class="control-label" for="name" style="display: none"></label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">原密码</label>
                        <div class="col-sm-7">
                            <input type="password" class="form-control" name="password"
                                   id="oldPwd" placeholder="请输入原密码"> <label
                                class="control-label" for="oldPwd" style="display: none"></label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label  class="col-sm-3 control-label">新密码</label>
                        <div class="col-sm-7">
                            <input type="password" class="form-control" name="password2"
                                   id="newPwd" placeholder="请输入新密码"> <label
                                class="control-label" for="newPwd" style="display: none"></label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">真实姓名</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" id="name" name="name"
                                   placeholder="请输入您的真实姓名"> <label
                                class="control-label" for="name" style="display: none"></label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">性别</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" id="sex" name="sex"
                                   placeholder="请输入您的性别"> <label
                                class="control-label" for="sex" style="display: none"></label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">邮箱</label>
                        <div class="col-sm-7">
                            <input type="text" class="form-control" id="email" name="email"
                                   placeholder="请输入您的邮箱"> <label
                                class="control-label" for="email" style="display: none"></label>
                        </div>
                </div>
                <div class="modal-footer">
                   <a href="index_admin.jsp" onclick="">返回</a>
                    <button type="submit" class="btn btn-primary" >修改</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal -->
    </div>
</form>
</body>
</html>
